package com.example.clxy.result.business.PageResult;

import com.example.clxy.result.Page;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author Hsieh
 * @title: SpecialtyPageResult
 * @projectName clxy
 * @description:
 * @date 2020/8/139:53
 */
public class SpecialtyPageResult extends Page {
    private String specialtyid;

    private String specialtyname;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedTime;

    private String remark;

    private String flag;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public SpecialtyPageResult() {
    }

    public SpecialtyPageResult(String specialtyid, String specialtyname, Date createdTime, Date updatedTime, String remark, String flag) {
        this.specialtyid = specialtyid;
        this.specialtyname = specialtyname;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.remark = remark;
        this.flag = flag;
    }

    public String getSpecialtyid() {
        return specialtyid;
    }

    public void setSpecialtyid(String specialtyid) {
        this.specialtyid = specialtyid == null ? null : specialtyid.trim();
    }

    public String getSpecialtyname() {
        return specialtyname;
    }

    public void setSpecialtyname(String specialtyname) {
        this.specialtyname = specialtyname == null ? null : specialtyname.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

}
